/*
 * Here comes the text of your license
 * Each line should be prefixed with  * 
 */
package model.preset.impl;

import java.io.Serializable;
import model.mp3.MP3Object;
import model.preset.Preset;

public class PresetImpl implements Preset, Serializable {

    private MP3Object lastSongPlayed;
    private Float volume;
    //TODO add equalizer preset values

    public MP3Object getLastSongPlayed() {
        return lastSongPlayed;
    }

    public void setLastSongPlayed(MP3Object lastSongPlayed) {
        this.lastSongPlayed = lastSongPlayed;
    }

    public Float getVolume() {
        return volume;
    }

    public void setVolume(Float volume) {
        this.volume = volume;
    }

    @Override
    public String toString() {
        return "PresetImpl{" + "lastSongPlayed=" + lastSongPlayed.getMp3File().getName() + ", volume=" + volume + '}';
    }

}
